<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/my/sharkcms/Public/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="/my/sharkcms/Public/home/css/style.css" rel="stylesheet" type="text/css" />
<link href="/my/sharkcms/Public/home/css/uc.css" rel="stylesheet" type="text/css" />
<script src="/my/sharkcms/Public/js/jquery.js"></script>
<script src="/my/sharkcms/Public/bootstrap/js/bootstrap.min.js"></script>
<title><?php echo __SYSTEMNAME__; echo ($config["tittle"]); ?></title>
<script>
$(document).ready(function(){
	//退出登录页面
   $('.outlogin').click(function(){                   
      var url="<?php echo U('Public/outlogin');?>";
      $.post(url,function(data){
	     $(".logininfor").html('<a href="<?php echo U("Index/login");?>" style=" color:#B61D1D;">&nbsp;您好，&nbsp;&nbsp;请登录</a>&nbsp;&nbsp;<a href="<?php echo U("Index/reg");?>">免费注册</a>');
	  });
	  return false;
   });
});
</script>
</head>

<body>
<script>
   $(document).ready(function(){
      $(".h_hover_li").hover(function(){
	      $(this).css({"border":"1px solid #ddd","background":"#fff","borderBottom":"0px"});
		  $(this).find("b").css({"backgroundPosition":"-90px -43px"});
		  $(this).next().css({"visibility":"visible"});
	  },function(){
	      $(this).css({"border":"1px solid #fff","background":"none"});
		  $(this).find("b").css({"backgroundPosition":"-90px -53px"});
		  $(this).next().css({"visibility":"hidden"});
	  });
	  $(".h_hover_extend").hover(function(){
	      $(this).prev().css({"border":"1px solid #ddd","background":"#fff","borderBottom":"0px"});
		  $(this).prev().find("b").css({"backgroundPosition":"-90px -43px"});
		  $(this).css({"visibility":"visible"});
	  },function(){
	      $(this).prev().css({"border":"1px solid #fff","background":"none","borderBottom":"0px"});
		  $(this).prev().find("b").css({"backgroundPosition":"-90px -53px"});
		  $(this).css({"visibility":"hidden"});
	  });
   });
</script>

     <div class="reg_line1" align="center">
	    <div class="reg_line1_main">
		    <div class="fl reg_line1_main_l"> <b class="regbg"></b>收藏<?php echo __SYSTEMNAME__;?></div>
			<div class="fr reg_line1_main_r">
			    <ul>
				   <li class="logininfor">
                      <?php if(session('uid')): ?><a href="<?php echo U("User/index");?>" class="loginname"><?php echo getUserName(session('uid'));?></a>&nbsp;&nbsp;<a href="#" class="outlogin">[退出]</a>
		               <?php else: ?>
		                  <a href="<?php echo U('Index/login');?>" style=" color:#B61D1D;">&nbsp;您好，&nbsp;&nbsp;请登录</a>&nbsp;&nbsp;<a href="<?php echo U('Index/reg');?>">免费注册</a><?php endif; ?>
				   </li>
				   <li><s></s><a href="#" class="heightgray">我的订单</a></li>
				   <li><s></s><a href="#" class="heightgray">手机<?php echo __SYSTEMNAME__;?></a></li>
				   <li>
				       <s></s><div class="fl h_hover_li"><a href="#" class="heightgray fl">客户服务</a><b></b></div>
					   <div class="h_hover_extend" >
					         <a href="#">常见问题</a><br /><a href="#">售后服务</a><br /><a href="#">在线客服</a>
					         <br /><a href="#">投诉中心</a><br /><a href="#">客服邮箱</a>
					   </div>
					</li>
				</ul>  
			</div>
		</div>
	 </div>





<div align="center">
    <div class="cartcontent">
	  <div class="cart_head">
	    <div id="cartlogo" class="fl"><a href="/my/sharkcms/index.php"><img src="/my/sharkcms/Public/home/images/logo.png" />&nbsp;&nbsp;个人中心</a></div>
		<div class="cart_search fr">
		    <div class="input-group">
			    <input class="form-control" maxlength="20" placeholder="输入您需要查找的内容" />
				<span class="input-group-addon">搜索</span>
			</div>
		</div>
		<div class="clear"></div>
		<div class="shop_nav">
		   <div class="shop_nav_nav1 fl">全部商品分类</div>
		   <div class="shop_nav_nav2 fl">
		      <ul>
			     <li><a href="/my/sharkcms">首页</a></li>
				 <li><a href="#">服装城</a></li>
				 <li><a href="#">美食</a></li>
				 <li><a href="#">团购</a></li>
				 <li><a href="#">夺宝岛</a></li>
			  </ul>
		   </div>
		</div>
	 </div>
</div>
<div class="h10"></div>

<link href="/my/sharkcms/font/font-awesome-4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

<div align="center">
    <div class="cartcontent">
        	  <div class="fl">
        <div class="uc_menu">
		   <div class="uc_menu_nav1">
		      <a href="/my/sharkcms/index.php/Home/User"><span class="fa fa-street-view colororg "></span>&nbsp;我的<?php echo __SYSTEMNAME__;?></a>
		   </div>
		   <div class="uc_menu_nav2">
		      <dl>
			     <dt>我的交易</dt>
				 <dd class="slidemrnu"><a href="<?php echo U('myorder');?>">我的订单</a></dd>
				 <dd class="slidemrnu"><a href="#">评价订单</a></dd>
				 <dd class="slidemrnu"><a href="#">取消订单记录</a></dd>
			  </dl>
		   </div>

		   <div class="uc_menu_nav2">
		      <dl>
			     <dt>关注中心</dt>
				 <dd class="slidemrnu"><a href="<?php echo U('my_watch');?>">关注的商品</a></dd>
				 <dd class="slidemrnu"><a href="<?php echo U('my_view');?>">浏览历史</a></dd>
			  </dl>
		   </div>

		   <!-- <div class="uc_menu_nav2">
		      <dl>
			     <dt>关注中心</dt>
				 <dd class="slidemrnu"><a href="#">关注的商品</a></dd>
				 <dd class="slidemrnu"><a href="#">浏览历史</a></dd>
			  </dl>
		   </div>

		   <div class="uc_menu_nav2">
		      <dl>
			     <dt>我的资产</dt>
				 <dd class="slidemrnu"><a href="#">我的积分</a></dd>
				 <dd class="slidemrnu"><a href="#">我的抵用券</a></dd>
				 <dd class="slidemrnu"><a href="#">礼品卡</a></dd>
				 <dd class="slidemrnu"><a href="#">账户余额</a></dd>
			  </dl>
		   </div>

		   <div class="uc_menu_nav2">
		      <dl>
			     <dt>在线客服</dt>
				 <dd class="slidemrnu"><a href="#">在线投诉</a></dd>
				 <dd class="slidemrnu"><a href="#">在线退换货</a></dd>
				 <dd class="slidemrnu"><a href="#">发票中心</a></dd>
			  </dl>
		   </div> -->
		   <div class="uc_menu_nav2">
		      <dl>
			     <dt>个人设置</dt>
				 <dd class="slidemrnu"><a href="<?php echo U('my_info');?>">个人信息</a></dd>
				 <dd class="slidemrnu"><a href="<?php echo U('my_address');?>">收货地址</a></dd>
				 <dd class="slidemrnu"><a href="#">安全设置</a></dd>
			  </dl>
		   </div>
         </div>
		</div>
		<div class="fl">
		    <!-- <div class="uc_rline1">
			   <div class="uc_rline1_l">
			      <div class="uc_rline1_lline1" align="center"><img src="/my/sharkcms/Public/home/images/user_head.jpg" /></div>
				  <div class="uc_rline1_luname"><?php echo ($user['user_name']); ?></div>
				  <div class="uc_rline1_lline2">
				      <span class="fl uc_classicon"><img src="/my/sharkcms/Public/home/images/uc_class.png"/></span>&nbsp;&nbsp;铜牌会员
				  </div>
				  <div class="uc_rline1_lline3">
				    <span class="block fl">账号安全</span>
					<div class="uc_rline1_lline3_wrap fl">
					   <div class="uc_rline1_lline3_wrap_main"></div>
					</div>
				    <span class="block fl">&nbsp;&nbsp;<a href="#" class="colorblue">提升</a></span>
				  </div>
			   </div>
			   <div class="uc_rline1_r">
			      <div class="uc_rline1_r_ad"></div>
				  <div class="uc_rline1_rl">
				     <div class="uc_rline1_rl1">
					     <div class="uc_rline1_rl1_line1"><span class="fa fa-file-o block"></span></div>
						 <div>待付款&nbsp;&nbsp;<span class="colorred fwb"><?php echo ($ordernum['nopay']); ?></span></div>
					 </div>
					 
				     <div class="uc_rline1_rl1">
					     <div class="uc_rline1_rl1_line1"><span class="fa fa-file-o block"></span></div>
						 <div>待收货&nbsp;&nbsp;<span class="colorred fwb"><?php echo ($ordernum['rese']); ?></span></div>
					 </div>
					 
				     <div class="uc_rline1_rl1">
					     <div class="uc_rline1_rl1_line1"><span class="fa fa-file-o block"></span></div>
						 <div>待自提&nbsp;&nbsp;<span class="colorred fwb"><?php echo ($ordernum['ziqu']); ?></span></div>
					 </div>
					 
				     <div class="uc_rline1_rl1">
					     <div class="uc_rline1_rl1_line1"><span class="fa fa-file-o block"></span></div>
						 <div>待评价&nbsp;&nbsp;<span class="colorred fwb"><?php echo ($ordernum['pingjia']); ?></span></div>
					 </div>					 
				  </div>
				  <div class="fl uc_rline1_r2">
				      <div class="wrapdiv">
					     <span class="fl f14">我的余额</span>
						 <span class="fr"><b class="colorred2 fwb f16">0&nbsp;</b>分</span>
						 <span class="clear"></span>
					 </div>
				      <div class="wrapdiv">
					     <span class="fl f14">我的积分</span>
						 <span class="fr"><b class="colorred2 fwb f16">0&nbsp;</b>分</span>
					 </div>
				      <div class="wrapdiv">
					     <span class="fl f14">我的抵用券</span>
						 <span class="fr"><b class="colorred2 fwb f16">0&nbsp;</b>分</span>
					 </div>
				      <div class="wrapdiv">
					     <span class="fl f14">我的礼品卡</span>
						 <span class="fr"><b class="colorred2 fwb f16">0&nbsp;</b>分</span>
					 </div>
				  </div>
				  <div class="uc_rline1_r3"><img src="/my/sharkcms/Public/home/images/erweima.jpg" /></div>
			   </div>
			</div> -->

			<div class="uc_rline2">
			    <div class="uc_rline2_head">
				   <span class="icon fl"></span>
				   <span class="tittle fl">我的订单</span>
				   <div class="fr class">
				      <ul>
						<!--  <li ><a <?php if(I('get.tab') == ''): ?>class="active"<?php endif; ?> href="<?php echo U('User/index');?>">待付款（<?php echo ($num['no_pay']); ?>）</a></li>
						 <li ><a <?php if(I('get.tab') == 'wait_recevie'): ?>class="active"<?php endif; ?> href="<?php echo U('User/index',array("tab"=>"wait_recevie"));?>">代收货（<?php echo ($num['wait_recevie']); ?>）</a></li>
						 <li ><a <?php if(I('get.tab') == 'wait_get'): ?>class="active"<?php endif; ?> href="<?php echo U('User/index',array("tab"=>"wait_get"));?>">待自提（<?php echo ($num['wait_get']); ?>）</a></li>
						 <li ><a <?php if(I('get.tab') == 'wait_commit'): ?>class="active"<?php endif; ?> href="<?php echo U('User/index',array("tab"=>"wait_commit"));?>">待评价（<?php echo ($num['wait_commit']); ?>）</a></li>
					     <li ><a <?php if(I('get.tab') == 'all'): ?>class="active"<?php endif; ?> href="<?php echo U('User/index',array("tab"=>"all"));?>">全部（<?php echo ($num['all']); ?>）</a></li> -->
					  </ul>
				   </div>
				</div>
				<div class="clear"></div>
				<div class="uc_rline2_main">
				    <div class="uc_rline2_main_content active">
					   <table class="uc_ordertb" align="center" >
					      <tr class="tr1">
						     <td width="158px;">订单编号</td>
							 <td width="150px;">下单日期</td>
							 <td width="120px;">收货人</td>
							 <td width="90px;">支付状态</td>
							 <td width="90px;">配送方式</td>
							 <td width="110px;">订单状态</td>
							 <td width="130px;">订单操作</td>
						  </tr>
						  <?php if(!empty($list)): if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$orderlist): $mod = ($i % 2 );++$i;?><tr class="tr2">
						     <td class="ordertd"><a href="<?php echo U('User/order_detail',array("id"=>$orderlist['od_id']));?>"><?php echo ($orderlist["od_no"]); ?></a></td>
							 <td><?php echo date("Y-m-d",$orderlist['od_createtime']);?></td>
							 <td ><?php echo ($orderlist["od_contacter"]); ?></td>
							 <td><?php if($orderlist["od_status"] == 0): ?>未付款<?php endif; ?></td>
							 <td><?php echo ($orderlist["payway"]); ?></td>
							 <td><?php echo ($orderlist["sendway"]); ?></td>
							 <td><a href="#">支付</a>&nbsp;&nbsp;<a href="#">取消</a></td>
						  </tr><?php endforeach; endif; else: echo "" ;endif; ?>
						  <?php else: ?>
						  <tr><td colspan="7" style="color:#e64346;text-align:center;line-height:100px; font-weight:bold">暂无相关数据</td></tr><?php endif; ?>

					   </table>
					</div>	
				</div>
			</div>
		</div>
		<div class="clear"></div>
	 </div>
</div>	 


</body>
</html>